<?php 
get_header(); 
?>
		 <div class="AboutContent">
	 	   <div class="AboutSubmenu">
	   	<ul>
				
				<li class="Home"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/homebutton.png" /></a></li>
				
                             <?php   
                            if($post->post_parent) {
                              $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
                              $titlenamer = get_the_title($post->post_parent);
                              }
                              else {
                              $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
                              $titlenamer = get_the_title($post->ID);
                              }
                              ?>
                                <li class="TitleButton"><?php echo $titlenamer; ?></li>
                              <?php
                              if ($children) { ?>
                              <?php echo $children; ?>
                             <?php } ?>
				<li class="Image"><img src="<?php bloginfo('template_url'); ?>/images/wordsimage.png" /></li>
			</ul>
			
			
		   </div>
		   
		   <div class="AboutScan">
		     <div class="AboutWordstitle">
			 	<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/companynews.jpg" /></a></div>
			  <div class="AboutNewsWordscontent">
                              
                               <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
                              
                                <div class="NewsTitle">
		
					<div class="Title">
					<h4><?php the_title(); ?></h4>
					</div>
				</div>
				
			    <div class="NewsTable">
				  <div class="NewsContent">
				  	 <?php the_content(); ?>
				  </div>
				  
			
			    </div>
                          
		
	<?php endwhile; else: ?>

<div class="NewsTitle">
		
					<div class="Title">
					<h4>Error</h4>
					</div>
				</div>
				
			    <div class="NewsTable">
				  <div class="NewsContent">
				  	对不起没有你要的内容
				  </div>
				  
			
			    </div>

	<?php endif; ?>
        
			 </div>
			  <div class="AboutWordsbuttom">
			 </div>
		   </div>
		 </div>

<?php get_footer(); ?>